home *** CD-ROM | disk | FTP | other *** search
/ ADA Programming Guide / ADA Programming Guide.iso / ada_gnu / adainc / s-signal.ads < prev    next >
Text File  |  1996-01-30  |  3KB  |  52 lines

  1. ------------------------------------------------------------------------------
  2. --                                                                          --
  3. --                 GNU ADA RUNTIME LIBRARY (GNARL) COMPONENTS               --
  4. --                                                                          --
  5. --                        S Y S T E M . S I G N A L S                       --
  6. --                                  S p e c                                 --
  7. --                                                                          --
  8. --                             $Revision: 1.6 $                             --
  9. --                                                                          --
  10. --       Copyright (c) 1991,1992,1993,1994, FSU, All Rights Reserved        --
  11. --                                                                          --
  12. -- GNARL is free software; you can redistribute it  and/or modify it  under --
  13. -- terms  of  the  GNU  Library General Public License  as published by the --
  14. -- Free Software  Foundation;  either version 2, or (at  your  option)  any --
  15. -- later  version.  GNARL is distributed  in the hope that  it will be use- --
  16. -- ful, but but WITHOUT ANY WARRANTY;  without even the implied warranty of --
  17. -- MERCHANTABILITY  or  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Gen- --
  18. -- eral Library Public License  for more details.  You should have received --
  19. -- a  copy of the GNU Library General Public License along with GNARL;  see --
  20. -- file COPYING.LIB.  If not,  write to the  Free Software Foundation,  675 --
  21. -- Mass Ave, Cambridge, MA 02139, USA.                                      --
  22. --                                                                          --
  23. ------------------------------------------------------------------------------
  24.  
  25. with System.Tasking;
  26. with Interfaces.C.POSIX_RTE;
  27.  
  28. package System.Signals is
  29.  
  30.    pragma Elaborate_Body (System.Signals);
  31.  
  32.    procedure Bind_Signal_To_Entry
  33.      (T   : Tasking.Task_ID;
  34.       E   : Tasking.Task_Entry_Index;
  35.       Sig : System.Address);
  36.  
  37.    procedure Detach_Handler (T : Tasking.Task_ID);
  38.  
  39.    procedure Block_Signal (S : Interfaces.C.POSIX_RTE.Signal);
  40.  
  41.    procedure Unblock_Signal (S : Interfaces.C.POSIX_RTE.Signal);
  42.  
  43.    function Is_Blocked (S : Interfaces.C.POSIX_RTE.Signal) return boolean;
  44.  
  45.    function Is_Ignored (S : Interfaces.C.POSIX_RTE.Signal) return boolean;
  46.  
  47.    procedure Ignore_Signal (S : Interfaces.C.POSIX_RTE.Signal);
  48.  
  49.    procedure Unignore_Signal (S : Interfaces.C.POSIX_RTE.Signal);
  50.  
  51. end System.Signals;
  52.